package com.yidu.hbatsams.service.Impl;

import com.yidu.hbatsams.dao.AtsAttachmentEmpMapper;
import com.yidu.hbatsams.domain.AtsAttachmentEmp;
import com.yidu.hbatsams.service.AtsAttachmentEmpService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

@Service
public class AtsAttachmentEmpServiceImpl implements AtsAttachmentEmpService {
    @Resource
    AtsAttachmentEmpMapper atsAttachmentEmpMapper;
    @Override
    public int insert(AtsAttachmentEmp atsAttachmentEmp) {
        //返回根据当前对象为条件调用增加方法的状态
        return atsAttachmentEmpMapper.insert(atsAttachmentEmp);
    }

    @Override
    public int updateByPrimaryKeySelective(AtsAttachmentEmp atsAttachmentEmp) {
        //返回根据当前对象为条件调用修改方法的状态
        return atsAttachmentEmpMapper.updateByPrimaryKeySelective(atsAttachmentEmp);
    }

    @Override
    public int updateIsva(AtsAttachmentEmp atsAttachmentEmp) {
        //返回根据当前对象为条件调用修改有效方法的状态
        return atsAttachmentEmpMapper.updateIsva(atsAttachmentEmp);
    }

    @Override
    public int updateLook(AtsAttachmentEmp atsAttachmentEmp) {
        //返回根据当前对象为条件调用修改查看方法的状态
        return atsAttachmentEmpMapper.updateLook(atsAttachmentEmp);
    }

    @Override
    public int userIdupdate(AtsAttachmentEmp atsAttachmentEmp) {
        //返回根据当前对象为条件调用关联表方法的状态
        return atsAttachmentEmpMapper.userIdupdate(atsAttachmentEmp);
    }

    @Override
    public List<AtsAttachmentEmp> atsfindId(AtsAttachmentEmp atsAttachmentEmp) {
        //返回根据当前对象为条件调用atsfindId方法的状态
        return atsAttachmentEmpMapper.atsfindId(atsAttachmentEmp);
    }
}